/* 初始化body */
body {
    min-width: 320px;
    max-width: 540px;
    margin: 0 auto;
    background-color: #fff;
    font-size: 14px;
    line-height: 1.5;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
/*点击高亮我们需要清除清除 设置为transparent完成透明*/
* {
    -webkit-tap-highlight-color: transparent;
}
/*在移动端浏览器默认的外观在iOS上加上这个属性，才能给难喝输入框自定义样式*/
input {
    -webkit-appearance: none;
}
/*禁用长按页面时的弹出菜单*/
img,a {
    -webkit-touch-callout: none;
}
/* 顶部提示框 */
.top_tips {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 45px;
    background-color: #333;
    line-height: 45px;
    text-align: center;
    color: #fff;
    z-index: 10;
}
.top_tips div:nth-child(1) {
    float: left;
    width: 8%;
}
.top_tips div:nth-child(1) img {
    width: 10px;
    vertical-align: middle;
}
.top_tips div:nth-child(2) {
    float: left;
    width: 10%;
}
.top_tips div:nth-child(2) img {
    width: 30px;
    height: 30px;
    vertical-align: middle;
}
.top_tips div:nth-child(3) {
    float: left;
    width: 57%;
}
.top_tips div:nth-child(4) {
    float: left;
    width: 25%;
    background-color: #f63517;
}

/* 搜索框区域 */
.search-box {
    position: fixed;
    top: 45px;
    left: 0;
    width: 100%;
    height: 44px;
    z-index: 1;
}
.search-box .search-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 44px;
}
.search-box .search-left span {
    display: block;
    width: 20px;
    height: 18px;
    margin: 14px 0 0 15px;
    background: url(../images/s-btn.png) no-repeat 0 0;
    background-size: 20px 18px;
}
.search-box .login {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    color: #fff;
}
.search-box .search {
    /* 不设置宽度，通过margin挤压 */
    height: 30px;
    margin: 7px 50px;
}
.search-box .search span {
    float: left;
    position: relative;
    width: 20px;
    height: 15px;
    margin: 8px 8px 0 15px;
    background: url(../images/logo2.png) no-repeat 0 0;
    background-size: 20px 15px;
}
.search-box .search span::after {
    position: absolute;
    right: -7px;
    content: "";
    width: 1px;
    height: 16px;
    background-color: #ccc;
}
/* 放大镜 */
.search-box .search i {
    float: left;
    width: 18px;
    height: 15px;
    margin: 8px 0 0 5px;
    background: url(../images/jd-sprites.png) no-repeat;
    background-position: -80px 0;
    background-size: 200px;
}
/* 输入框 */
.search-box .search .input {
    width: 100%;
    height: 30px;
    padding: 0 10px 0 68px;
    border-radius: 15px;
    background-color: #f7f7f7;
    box-sizing: border-box;
    font-size: 12px;
    line-height: 30px;
}
.search-box .search .input input {
    width: 100%;
    height: 16px;
    background-color: #f7f7f7;
    border: none;
    margin-left: 5px;
    padding-left: 5px;
    box-sizing: border-box;
    color: #232326;
    vertical-align: middle;
}
/* 主要内容区域 */
.content {
    width: 100%;
    margin-top: 45px;
    padding-bottom: 60px;
    background-color: #f6f6f6;
}
/* 焦点图 */
.banner {
    position: relative;
    width: 100%;
    height: 187px;
    overflow: hidden;
}
.banner .banner_bg {
    position: absolute;
    left: -25%;
    width: 150%;
    height: 145px;
    border-bottom-left-radius: 100%;
    border-bottom-right-radius: 100%;
    background-image: linear-gradient(0deg,#f1503b,#c82519 50%);
}
/* 焦点图列表部分 */
.banner ul {
    position: relative;
    margin: 0;
    list-style: none;
}
.banner ul li {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 187px;
    padding: 44px 3.333% 0;
    box-sizing: border-box;
}
.banner ul li:nth-child(2) {
    left: 100%;
}
.banner ul li:nth-child(3) {
    left: 200%;
}
.banner ul li a {
    display: block;
}
.banner ul li a img {
    display: block;
    width: 100%;
    border-radius: 10px;
}
/* 底部圆点 */
.banner .banner_pos {
    position: absolute;
    bottom: .5rem;
    width: 100%;
    margin: 0;
    list-style: none;
    text-align: center;
}
.banner .banner_pos span{
    display: inline-block;
    width: 5px;
    height: 5px;
    background: hsla(0,0%,100%,.6);
    margin: 0 2px;
    border-radius: 50%;
    box-sizing: border-box;
}
.banner .banner_pos span.current {
    background-color: #fa2c19;
}
/* 优惠区域 */
.coupon {
    width: 100%;
    overflow: hidden;
}
.coupon a {
    float: left;
    width: 33.3%;
}
.coupon a img {
    width: 100%;
}
/* 导航区域 */
nav {
    position: relative;
    width: 100%;
    height: 162px;
}
nav .mall_nav {
    width: 100%;
    height: 162px;
}
nav .mall_nav a {
    float: left;
    width: 20%;
    height: 45.65%;
    font-size: 0.6rem;
    text-align: center;
    color: #666;
    text-decoration: none;
}
nav .mall_nav a img {
    display: block;
    width: 53%;
    margin: .5rem auto 0;
}
nav .mall_nav a span {
    display: block;
    margin-top: .3rem;
}
nav .nav_pos {
    display: flex;
    justify-content: center;
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 100%;
    height: 6px;
}
nav .nav_pos span {
    width: 5px;
    height: 5px;
    margin: 0 3px;
    background-color: #ccc;
    vertical-align: middle;
    border-radius: 50%;
}
nav .nav_pos span.current {
    background-color: #fa2c19;
}
/* 新人专享 */
.new_member {
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    overflow: hidden;
}
.new_member a {
    display: block;
    float: left;
    width: 50%;
}
.new_member a img {
    width: 100%;
}

/* 精选好物 */
.good_item {
    width: 100%;
    height: 252px;
}
.good_item .container {
    width: 94.4444%;
    height: 242px;
    margin: 0 10px 10px;
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 0.6rem;
    overflow: hidden;
}
.good_item .container a {
    display: block;
    float: left;
    width: 25%;
    height: 120px;
    padding: 0.325rem 0;
    box-sizing: border-box;
    text-decoration: none;
}
.good_item .container a:nth-child(1) {
    width: 50%;
}
.good_item .container a:nth-child(2) {
    width: 50%;
}
.good_item .container a span {
    display: block;
    height: 22px;
    padding-left: 9px;
    padding-top: 6.5px;
    font-size: 16px;
    line-height: 22px;
    color: #000;
}
.good_item .container a p {
    color: #666771;
    margin: 0;
    padding: 0 0 0 9px;
    font-size: 12px;
}
.good_item .container a .img_c {
    width: 100%;
    /* height: 75px; */
    padding: 0 14px;
    box-sizing: border-box;
    overflow: hidden;
}
.good_item .container a .img_c img {
    float: left;
    display: block;
    width: 60px;
    margin: 5.5px 7px 0;
}
/* 商品区样式 */
.shop {
    list-style: none;
    width: 100%;
    margin: 0;
    padding: 0 10px;
    box-sizing: border-box;
    overflow: hidden;
}
.shop li {
    float: left;
    width: 50%;
    height: 273px;
    padding: 0 5px 10px 0;
    box-sizing: border-box;
}
.shop li:nth-child(2n) {
    padding: 0 0 10px 5px;
}
.shop li .shop_c {
    width: 100%;
    height: 100%;
    border-radius: 0.6rem;
    background-color: #fff;
    overflow: hidden;
}
.shop li .shop_c .shop_img {
    display: block;
    width: 100%;
}
.shop li .shop_c .shop_descript {
    display: inline-block;
    max-width: 100%;
    width: 100%;
    height: 32px;
    margin: 5px 0 3px;
    font-size: 13px;
    line-height: 16px;
    color: #1a1a1a;
    overflow: hidden;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}
.shop li .shop_c .shop_descript img {
    display: inline-block;
    width: 45px;
    height: 13px;
}
.shop li .shop_c p {
    position: relative;
    width: 100%;
    height: 26px;
    margin: 0;
}
.shop li .shop_c p .money {
    height: 26px;
    padding: 0 5px;
    font-size: 16px;
    color: #fa2c19;
    line-height: 26px;
}
.shop li .shop_c p .quick_pay {
    display: inline-block;
    width: 32px;
    height: 16px;
    padding: 0 3px;
    margin-right: 5px;
    border: 1px solid #fa2c19;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    color: #fa2c19;
    box-sizing: border-box;
}
.shop li .shop_c p .like_shop {
    display: inline-block;
    position: absolute;
    right: -3px;
    top: 2px;
    width: 36px;
    height: 22px;
    padding: 0 5px;
    background-color: #f0f2f5;
    border-radius: 0.55rem;
    font-size: 12px;
    color: #808080;
    line-height: 22px;
    text-align: center;
}
/* 底部导航样式 */
.bottom_nav {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 50px;
    background-color: #fff;
    box-sizing: border-box;
    box-shadow: 0 0 5px 0 hsl(0deg 6% 58% / 60%);
    overflow: hidden;
}
.bottom_nav a {
    float: left;
    width: 20%;
    height: 50px;
}
.bottom_nav a img {
    display: block;
    width: 65px;
    margin: 0 auto;
}